package com.faxsun.test.example;

import static org.junit.Assert.*;

import java.util.List;

import mblog.core.persist.dao.UserDao;

import org.junit.Before;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;

import com.faxsun.core.persist.entity.UserPO;
import com.faxsun.test.base.BaseTest;

public class UserDaoTestCase extends BaseTest{

	@Autowired
	UserDao userDao;

	@Before
	public void setUp() throws Exception {
	}

	@Test
	public void test() {
		List<UserPO> users = userDao.list();
		assertNotEquals(0, users.size());
	}

}
